package com.ruoyi.dailyoperations.mapper;

import java.util.List;
import com.ruoyi.dailyoperations.domain.FoodConsume;

/**
 * 伙食消费Mapper接口
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public interface FoodConsumeMapper 
{
    /**
     * 查询伙食消费
     * 
     * @param id 伙食消费主键
     * @return 伙食消费
     */
    public FoodConsume selectFoodConsumeById(Long id);

    /**
     * 查询伙食消费列表
     * 
     * @param foodConsume 伙食消费
     * @return 伙食消费集合
     */
    public List<FoodConsume> selectFoodConsumeList(FoodConsume foodConsume);

    /**
     * 新增伙食消费
     * 
     * @param foodConsume 伙食消费
     * @return 结果
     */
    public int insertFoodConsume(FoodConsume foodConsume);

    /**
     * 修改伙食消费
     * 
     * @param foodConsume 伙食消费
     * @return 结果
     */
    public int updateFoodConsume(FoodConsume foodConsume);

    /**
     * 删除伙食消费
     * 
     * @param id 伙食消费主键
     * @return 结果
     */
    public int deleteFoodConsumeById(Long id);

    /**
     * 批量删除伙食消费
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFoodConsumeByIds(Long[] ids);
}
